const mongoose = require('mongoose');
mongoose.connect( 'mongodb://127.0.0.1:27017/studentManage', {useNewUrlParser: true},(err)=>{
    if(err) throw err;
    console.log("database连接成功");
    console.log("http://localhost:8080/login");
});
module.exports = mongoose;

